package com.autumn.log.service.dto.input;

import com.autumn.validation.constraints.NotNullOrBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务日志数据查询输入
 * 
 * @author 老码农
 *
 *         2018-02-02 08:53:51
 */
public class ServiceLogDataQueryInput implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5028304416993836955L;

	private int currentPage;
	private int pageSize;
	@NotNullOrBlank(message = "serviceId 不能为 null 或空白符串")
	private String serviceId;
	private String serviceAddress;
	private String clientAddress;
	private Date logBeginTime;
	private Date logEndTime;
	private String level;
	private String message;
	private String loggerName;
	private String identity;
	private String userName;

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public String getServiceAddress() {
		return serviceAddress;
	}

	public void setServiceAddress(String serviceAddress) {
		this.serviceAddress = serviceAddress;
	}

	public String getClientAddress() {
		return clientAddress;
	}

	public void setClientAddress(String clientAddress) {
		this.clientAddress = clientAddress;
	}

	public Date getLogBeginTime() {
		return logBeginTime;
	}

	public void setLogBeginTime(Date logBeginTime) {
		this.logBeginTime = logBeginTime;
	}

	public Date getLogEndTime() {
		return logEndTime;
	}

	public void setLogEndTime(Date logEndTime) {
		this.logEndTime = logEndTime;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getLoggerName() {
		return loggerName;
	}

	public void setLoggerName(String loggerName) {
		this.loggerName = loggerName;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
